<html>
<head><meta charset="utf-8"><title>custom toolchain + llvm-tools · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/custom.20toolchain.20.2B.20llvm-tools.html">custom toolchain + llvm-tools</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="247373094"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/custom%20toolchain%20%2B%20llvm-tools/near/247373094" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hudson Ayers <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/custom.20toolchain.20.2B.20llvm-tools.html#247373094">(Jul 27 2021 at 18:37)</a>:</h4>
<p>Hi, I am trying to measure the size impact of implicit caller location (<a href="https://github.com/rust-lang/rust/issues/70579">https://github.com/rust-lang/rust/issues/70579</a>) on an embedded project to add some data to that issue. I am able to successfully build a compiler locally, but can't build the project using it, because our project relies on rust-lld (installed via <code>rustup component add llvm-tools-preview</code>). Is there a way to make that component available on a custom toolchain?</p>



<a name="247373648"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/custom%20toolchain%20%2B%20llvm-tools/near/247373648" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/custom.20toolchain.20.2B.20llvm-tools.html#247373648">(Jul 27 2021 at 18:41)</a>:</h4>
<p>Set <code>lld</code> to true in <code>config.toml</code>.</p>



<a name="247376786"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/custom%20toolchain%20%2B%20llvm-tools/near/247376786" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hudson Ayers <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/custom.20toolchain.20.2B.20llvm-tools.html#247376786">(Jul 27 2021 at 19:05)</a>:</h4>
<p>Thanks. Sorry if that is documented somewhere obvious and I missed it</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>